/**
 * 雨水水箱
 * */
#define _HEADER_WaterTank1_H

#ifndef _HEADER_WaterLine_H
#include "WaterLine.h"
#endif

#ifndef _HEADER_Switch_H
#include "Switch.h"
#endif

class WaterTank1
{
public:
    //雨水罐是否为空标记
    bool isEmptyState = true;
public:
    //出水泵
    Switch outPump;
    //水位检测设备
    WaterLine waterLine;
public:
    //雨水罐是否是空的
    bool isEmpty();
    //关闭雨水泵
    void closeOutPump();
    void openOutPump();

    //打印
    void toString(char* inStr);
};
